package cn.stylefeng.guns.sys.modular.tao.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 运费地区金额管理
 * </p>
 *
 * @author 
 * @since 2019-08-24
 */
@TableName("zt_postage")
public class Postage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 首重或者首次商品数量
     */
    @TableField("first_num")
    private BigDecimal firstNum;

    /**
     * 首次价格
     */
    @TableField("first_money")
    private BigDecimal firstMoney;

    /**
     * 增加数量
     */
    @TableField("add_num")
    private BigDecimal addNum;

    /**
     * 增加金额
     */
    @TableField("add_money")
    private BigDecimal addMoney;

    /**
     * 地区名称
     */
    @TableField("region_name")
    private String regionName;

    /**
     * 地区编号
     */
    @TableField("region")
    private String region;

    /**
     * 模板编号
     */
    @TableField("postage_id")
    private Integer postageId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getFirstNum() {
        return firstNum;
    }

    public void setFirstNum(BigDecimal firstNum) {
        this.firstNum = firstNum;
    }

    public BigDecimal getFirstMoney() {
        return firstMoney;
    }

    public void setFirstMoney(BigDecimal firstMoney) {
        this.firstMoney = firstMoney;
    }

    public BigDecimal getAddNum() {
        return addNum;
    }

    public void setAddNum(BigDecimal addNum) {
        this.addNum = addNum;
    }

    public BigDecimal getAddMoney() {
        return addMoney;
    }

    public void setAddMoney(BigDecimal addMoney) {
        this.addMoney = addMoney;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public Integer getPostageId() {
        return postageId;
    }

    public void setPostageId(Integer postageId) {
        this.postageId = postageId;
    }

    @Override
    public String toString() {
        return "Postage{" +
        "id=" + id +
        ", firstNum=" + firstNum +
        ", firstMoney=" + firstMoney +
        ", addNum=" + addNum +
        ", addMoney=" + addMoney +
        ", regionName=" + regionName +
        ", region=" + region +
        ", postageId=" + postageId +
        "}";
    }
}
